<div class="container">
    <div class="row">
        <div class="col-md-6 col-md-offset-3">
            <form>
                <div class="form-group">
                    <label for="rolename">角色名称</label>
                    <input type="text" class="form-control" id="rolename" placeholder="角色名称"
                           ng-model="role.name">
                </div>
                <div class="form-group">
                    <label for="explain">说明</label>
                    <textarea type="text" class="form-control" id="explain" placeholder="说明"
                              ng-model="role.descr"></textarea>
                </div>
                <div class="checkbox">
                    <label>
                        <input name="1" type="radio" ng-model="role.status" value="1">启用
                    </label>
                    <label>
                        <input  name="1" type="radio" ng-model="role.status" value="0">禁用
                    </label>
                </div>
                <a type="submit" class="btn btn-primary" href="#rolelist" aria-controls="rolelist" role="tab" data-toggle="tab" ng-click="save()" mt-tab>提交</a>
                <a class="btn btn-default" href="#rolelist" aria-controls="rolelist" role="tab" data-toggle="tab">返回</a>
            </form>
        </div>
    </div>
</div>